var oBtn = document.querySelector("button");
var shade = document.querySelector("p");
var closeIcon = document.querySelector("#closeIcon");
var oDiv = document.querySelector(".float");
var closeBtn = document.querySelector(".closeBtn");

oBtn.onclick = function () {
  shade.style.display = "block";
  oDiv.style.display = "block";
}

closeIcon.onclick = function () {
  shade.style.display = "none";
  oDiv.style.display = "none";
}

closeBtn.onclick = function () {
  shade.style.display = "none";
  oDiv.style.display = "none";
}